using System;
using System.Collections.Generic;
using System.Text;

namespace SmartSoft.DAL
{
    public static class SDBNull
    {
        private static object _Value;

        public static object Value
        {
            get
            {                
                if (SSDataAccess.IsRemoteConnected)
                    return string.Empty;
                else
                    return DBNull.Value;
            }
            set
            {
                _Value = value;
            }
        }
    }
}
